home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Xconq 7.1.0 / src / mac-only / overwrite-detector < prev    next >
Encoding:
Text File  |  1995-07-08  |  333 b   |  14 lines  |  [TEXT/MPS ]

  1. # use to figure if new set of images overlaps any existing ones.
  2.  
  3. search -q '(imf ' :lib:≈.imf >old
  4. search -q '(imf ' :images.imf >new
  5.  
  6. sort old >oldsorted
  7. sort new >newsorted
  8.  
  9. catenate oldsorted newsorted >catted
  10. sort catted >cattedsorted
  11. sort -unique cattedsorted >mergedsorted
  12.  
  13. naxos:prog:moretools:diff mergedsorted cattedsorted
  14.